﻿using Hotel.Common;
using Hotel.IServices.RequestDTO;
using Hotel.IServices.ResponseDTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.IServices
{
    public interface IGoodsServices
    {
        //添加商品
        Task<ApiResult> AddGoodsAsync(AddGoodsAsyncReDto dto);

        //分页查询商品列表
        Task<ApiResult<PagingResult<IList<QueryGoodsListPagedAsyncRespDto>>>> QueryGoodsListPagedAsync(QueryGoodsListPagedAsyncReqDto dto);


        //删除商品
        Task<ApiResult> DelGoodsAsync(long goodid);


        //根据编号获取商品信息
        Task<ApiResult> UpSqlUser(long goodid);

        //修改商品信息
        Task<ApiResult> UpUser(GetUpGoodsReDto dto);
    }
}
